Note: This statement is named Get Current Directory in the Add Statement dialog box.
Returns the current working directory for QA Wizard Pro.
The working directory is where the QA Wizard Pro component used to run the script starts from. For example, if QA Wizard Pro runs the script, the QA Wizard Pro application directory is the working directory. If QAWRunScript runs the script, the working directory is the current directory in the command prompt.
Syntax
GetCurDir()
Return value
| Value | Description |
|---|---|
| Value | QA Wizard Pro working directory. |
Example
directory = GetCurDir()
DeleteFile(directory + "\\Results.txt")